package stephen.com.utils;

public class CodeUtil {
	/**
	 * 随机数生成验证码
	 * @return 6位的随机数
	 */
	public static String createRandomCode() {
		int num = (int) ((Math.random() * 9 + 1) * 100000);
		return num + "";
	}
}
